/**
 * Created by YY on 2017-12-17.
 */
function synchronizeUser() {
    $.ajax({
        url: "authentication/getUserInfoInSession",
        type: "POST",
        data: "",
        dataType: "json",
        success: function (result) {
            if(result.result!=="登陆") {
                var temp = document.getElementById("user-manager-username");
                temp.innerText=result.result;
            }
        }
    });
}